﻿using System;
namespace ToolSharp.Windows.Native
{
	public static class Constants
	{
		public const string ADVAPI32 = "advapi32.dll";
		public const uint ANONYMOUS_LOGON_LUID = 0x3e6;
		public const string CRYPT32 = "crypt32.dll";
		public const uint CRYPTPROTECTMEMORY_BLOCK_SIZE = 0x10;
		public const uint CRYPTPROTECTMEMORY_CROSS_PROCESS = 1;
		public const uint CRYPTPROTECTMEMORY_SAME_LOGON = 2;
		public const uint CRYPTPROTECTMEMORY_SAME_PROCESS = 0;
		public const int CSIDL_ADMINTOOLS = 0x30;
		public const int CSIDL_APPDATA = 0x1a;
		public const int CSIDL_CDBURN_AREA = 0x3b;
		public const int CSIDL_COMMON_ADMINTOOLS = 0x2f;
		public const int CSIDL_COMMON_APPDATA = 0x23;
		public const int CSIDL_COMMON_DESKTOPDIRECTORY = 0x19;
		public const int CSIDL_COMMON_DOCUMENTS = 0x2e;
		public const int CSIDL_COMMON_MUSIC = 0x35;
		public const int CSIDL_COMMON_OEM_LINKS = 0x3a;
		public const int CSIDL_COMMON_PICTURES = 0x36;
		public const int CSIDL_COMMON_PROGRAMS = 0x17;
		public const int CSIDL_COMMON_STARTMENU = 0x16;
		public const int CSIDL_COMMON_STARTUP = 0x18;
		public const int CSIDL_COMMON_TEMPLATES = 0x2d;
		public const int CSIDL_COMMON_VIDEO = 0x37;
		public const int CSIDL_COOKIES = 0x21;
		public const int CSIDL_DESKTOP = 0;
		public const int CSIDL_DESKTOPDIRECTORY = 0x10;
		public const int CSIDL_DRIVES = 0x11;
		public const int CSIDL_FAVORITES = 6;
		public const int CSIDL_FLAG_CREATE = 0x8000;
		public const int CSIDL_FLAG_DONT_VERIFY = 0x4000;
		public const int CSIDL_FONTS = 20;
		public const int CSIDL_HISTORY = 0x22;
		public const int CSIDL_INTERNET_CACHE = 0x20;
		public const int CSIDL_LOCAL_APPDATA = 0x1c;
		public const int CSIDL_MYMUSIC = 13;
		public const int CSIDL_MYPICTURES = 0x27;
		public const int CSIDL_MYVIDEO = 14;
		public const int CSIDL_NETHOOD = 0x13;
		public const int CSIDL_PERSONAL = 5;
		public const int CSIDL_PRINTHOOD = 0x1b;
		public const int CSIDL_PROFILE = 40;
		public const int CSIDL_PROGRAM_FILES = 0x26;
		public const int CSIDL_PROGRAM_FILES_COMMON = 0x2b;
		public const int CSIDL_PROGRAM_FILES_COMMONX86 = 0x2c;
		public const int CSIDL_PROGRAM_FILESX86 = 0x2a;
		public const int CSIDL_PROGRAMS = 2;
		public const int CSIDL_RECENT = 8;
		public const int CSIDL_RESOURCES = 0x38;
		public const int CSIDL_RESOURCES_LOCALIZED = 0x39;
		public const int CSIDL_SENDTO = 9;
		public const int CSIDL_STARTMENU = 11;
		public const int CSIDL_STARTUP = 7;
		public const int CSIDL_SYSTEM = 0x25;
		public const int CSIDL_SYSTEMX86 = 0x29;
		public const int CSIDL_TEMPLATES = 0x15;
		public const int CSIDL_WINDOWS = 0x24;
		public const int CTRL_BREAK_EVENT = 1;
		public const int CTRL_C_EVENT = 0;
		public const int CTRL_CLOSE_EVENT = 2;
		public const int CTRL_LOGOFF_EVENT = 5;
		public const int CTRL_SHUTDOWN_EVENT = 6;
		public const uint DUPLICATE_CLOSE_SOURCE = 1;
		public const uint DUPLICATE_SAME_ACCESS = 2;
		public const uint DUPLICATE_SAME_ATTRIBUTES = 4;
		public const int ENABLE_ECHO_INPUT = 4;
		public const int ENABLE_LINE_INPUT = 2;
		public const int ENABLE_PROCESSED_INPUT = 1;
		public const int ERROR_ACCESS_DENIED = 5;
		public const int ERROR_ALREADY_EXISTS = 0xb7;
		public const int ERROR_ARITHMETIC_OVERFLOW = 0x216;
		public const int ERROR_BAD_IMPERSONATION_LEVEL = 0x542;
		public const int ERROR_BAD_LENGTH = 0x18;
		public const int ERROR_BAD_PATHNAME = 0xa1;
		public const int ERROR_CALL_NOT_IMPLEMENTED = 120;
		public const int ERROR_CANT_OPEN_ANONYMOUS = 0x543;
		public const int ERROR_DIRECTORY = 0x10b;
		public const int ERROR_DLL_INIT_FAILED = 0x45a;
		public const int ERROR_ENVVAR_NOT_FOUND = 0xcb;
		public const int ERROR_FILE_EXISTS = 80;
		public const int ERROR_FILE_NOT_FOUND = 2;
		public const int ERROR_FILENAME_EXCED_RANGE = 0xce;
		public const int ERROR_INSUFFICIENT_BUFFER = 0x7a;
		public const int ERROR_INVALID_ACL = 0x538;
		public const int ERROR_INVALID_DATA = 13;
		public const int ERROR_INVALID_DRIVE = 15;
		public const int ERROR_INVALID_FUNCTION = 1;
		public const int ERROR_INVALID_HANDLE = 6;
		public const int ERROR_INVALID_NAME = 0x7b;
		public const int ERROR_INVALID_OWNER = 0x51b;
		public const int ERROR_INVALID_PARAMETER = 0x57;
		public const int ERROR_INVALID_PRIMARY_GROUP = 0x51c;
		public const int ERROR_INVALID_SECURITY_DESCR = 0x53a;
		public const int ERROR_INVALID_SID = 0x539;
		public const int ERROR_MORE_DATA = 0xea;
		public const int ERROR_NO_DATA = 0xe8;
		public const int ERROR_NO_MORE_FILES = 0x12;
		public const int ERROR_NO_SECURITY_ON_OBJECT = 0x546;
		public const int ERROR_NO_SUCH_PRIVILEGE = 0x521;
		public const int ERROR_NO_TOKEN = 0x3f0;
		public const int ERROR_NON_ACCOUNT_SID = 0x4e9;
		public const int ERROR_NONE_MAPPED = 0x534;
		public const int ERROR_NOT_ALL_ASSIGNED = 0x514;
		public const int ERROR_NOT_ENOUGH_MEMORY = 8;
		public const int ERROR_NOT_READY = 0x15;
		public const int ERROR_NOT_SUPPORTED = 50;
		public const int ERROR_OPERATION_ABORTED = 0x3e3;
		public const int ERROR_PATH_NOT_FOUND = 3;
		public const int ERROR_PIPE_NOT_CONNECTED = 0xe9;
		public const int ERROR_PRIVILEGE_NOT_HELD = 0x522;
		public const int ERROR_SHARING_VIOLATION = 0x20;
		public const int ERROR_SUCCESS = 0;
		public const int ERROR_TRUSTED_RELATIONSHIP_FAILURE = 0x6fd;
		public const int ERROR_UNKNOWN_REVISION = 0x519;
		public const int EVENT_MODIFY_STATE = 2;
		public const int FILE_ATTRIBUTE_DIRECTORY = 0x10;
		public const int FILE_ATTRIBUTE_READONLY = 1;
		public const int FILE_ATTRIBUTE_REPARSE_POINT = 0x400;
		public const int FILE_TYPE_CHAR = 2;
		public const int FILE_TYPE_DISK = 1;
		public const int FILE_TYPE_PIPE = 3;
		public const int FIND_ENDSWITH = 0x200000;
		public const int FIND_FROMEND = 0x800000;
		public const int FIND_FROMSTART = 0x400000;
		public const int FIND_STARTSWITH = 0x100000;
		private const int FORMAT_MESSAGE_ARGUMENT_ARRAY = 0x2000;
		private const int FORMAT_MESSAGE_FROM_SYSTEM = 0x1000;
		private const int FORMAT_MESSAGE_IGNORE_INSERTS = 0x200;
		public const int HWND_BROADCAST = 0xffff;
		public const int INVALID_FILE_SIZE = -1;
		public static readonly IntPtr INVALID_HANDLE_VALUE;
		public const int IO_REPARSE_TAG_MOUNT_POINT = -1610612733;
		public const string KERNEL32 = "kernel32.dll";
		public const int KEY_CREATE_LINK = 0x20;
		public const int KEY_CREATE_SUB_KEY = 4;
		public const int KEY_ENUMERATE_SUB_KEYS = 8;
		public const short KEY_EVENT = 1;
		public const int KEY_NOTIFY = 0x10;
		public const int KEY_QUERY_VALUE = 1;
		public const int KEY_READ = 0x20019;
		public const int KEY_SET_VALUE = 2;
		public const int KEY_WOW64_32KEY = 0x200;
		public const int KEY_WOW64_64KEY = 0x100;
		public const int KEY_WRITE = 0x20006;
		public const int LCID_SUPPORTED = 2;
		public const int LMEM_FIXED = 0;
		public const int LMEM_ZEROINIT = 0x40;
		public const int LOAD_LIBRARY_AS_DATAFILE = 2;
		public const int LOAD_STRING_MAX_LENGTH = 500;
		public const int LPTR = 0x40;
		public const string LSTRLENA = "lstrlenA";
		public const string LSTRLENW = "lstrlenW";
		public const int MAX_PATH = 260;
		public const int MEM_COMMIT = 0x1000;
		public const int MEM_FREE = 0x10000;
		public const int MEM_RELEASE = 0x8000;
		public const int MEM_RESERVE = 0x2000;
		public const string MICROSOFT_KERBEROS_NAME = "Kerberos";
		public const string MOVEMEMORY = "RtlMoveMemory";
		public const string MSCORWKS = "clr.dll";
		public const int MUI_ALL_LANGUAGES = 0x40;
		public const int MUI_INSTALLED_LANGUAGES = 0x20;
		public const int MUI_LANG_NEUTRAL_PE_FILE = 0x100;
		public const int MUI_LANGUAGE_ID = 4;
		public const int MUI_LANGUAGE_NAME = 8;
		public const int MUI_NON_LANG_NEUTRAL_FILE = 0x200;
		public const int MUI_PREFERRED_UI_LANGUAGES = 0x10;
		public const int MUTEX_ALL_ACCESS = 0x1f0001;
		public const int MUTEX_MODIFY_STATE = 1;
		public const int NameSamCompatible = 2;
		public static readonly IntPtr NULL;
		public const string OLE32 = "ole32.dll";
		public const string OLEAUT32 = "oleaut32.dll";
		public const int PAGE_READWRITE = 4;
		public const int READ_CONTROL = 0x20000;
		public const int REG_BINARY = 3;
		public const int REG_DWORD = 4;
		public const int REG_DWORD_BIG_ENDIAN = 5;
		public const int REG_DWORD_LITTLE_ENDIAN = 4;
		public const int REG_EXPAND_SZ = 2;
		public const int REG_FULL_RESOURCE_DESCRIPTOR = 9;
		public const int REG_LINK = 6;
		public const int REG_MULTI_SZ = 7;
		public const int REG_NONE = 0;
		public const int REG_OPTION_BACKUP_RESTORE = 4;
		public const int REG_OPTION_CREATE_LINK = 2;
		public const int REG_OPTION_NON_VOLATILE = 0;
		public const int REG_OPTION_VOLATILE = 1;
		public const int REG_QWORD = 11;
		public const int REG_RESOURCE_LIST = 8;
		public const int REG_RESOURCE_REQUIREMENTS_LIST = 10;
		public const int REG_SZ = 1;
		public const int REPLACEFILE_IGNORE_MERGE_ERRORS = 2;
		public const int REPLACEFILE_WRITE_THROUGH = 1;
		public const uint SE_GROUP_ENABLED = 4;
		public const uint SE_GROUP_ENABLED_BY_DEFAULT = 2;
		public const uint SE_GROUP_LOGON_ID = 0xc0000000;
		public const uint SE_GROUP_MANDATORY = 1;
		public const uint SE_GROUP_OWNER = 8;
		public const uint SE_GROUP_RESOURCE = 0x20000000;
		public const uint SE_GROUP_USE_FOR_DENY_ONLY = 0x10;
		public const uint SE_PRIVILEGE_DISABLED = 0;
		public const uint SE_PRIVILEGE_ENABLED = 2;
		public const uint SE_PRIVILEGE_ENABLED_BY_DEFAULT = 1;
		public const uint SE_PRIVILEGE_USED_FOR_ACCESS = 0x80000000;
		public const string SECUR32 = "secur32.dll";
		public const int SECURITY_ANONYMOUS = 0;
		public const int SECURITY_ANONYMOUS_LOGON_RID = 7;
		public const int SECURITY_AUTHENTICATED_USER_RID = 11;
		public const int SECURITY_BUILTIN_DOMAIN_RID = 0x20;
		public const int SECURITY_LOCAL_SYSTEM_RID = 0x12;
		public const int SECURITY_SQOS_PRESENT = 0x100000;
		public const int SEM_FAILCRITICALERRORS = 1;
		public const int SEMAPHORE_MODIFY_STATE = 2;
		public const string SHFOLDER = "shfolder.dll";
		public const int SHGFP_TYPE_CURRENT = 0;
		public const string SHIM = "mscoree.dll";
		public const int STANDARD_RIGHTS_READ = 0x20000;
		public const int STANDARD_RIGHTS_WRITE = 0x20000;
		public const uint STATUS_ACCESS_DENIED = 0xc0000022;
		public const int STATUS_ACCOUNT_RESTRICTION = -1073741714;
		public const uint STATUS_INSUFFICIENT_RESOURCES = 0xc000009a;
		public const uint STATUS_NO_MEMORY = 0xc0000017;
		public const uint STATUS_NONE_MAPPED = 0xc0000073;
		public const uint STATUS_OBJECT_NAME_NOT_FOUND = 0xc0000034;
		public const uint STATUS_SOME_NOT_MAPPED = 0x107;
		public const uint STATUS_SUCCESS = 0;
		public const int STD_ERROR_HANDLE = -12;
		public const int STD_INPUT_HANDLE = -10;
		public const int STD_OUTPUT_HANDLE = -11;
		public const int SYNCHRONIZE = 0x100000;
		public const int TIME_ZONE_ID_DAYLIGHT = 2;
		public const int TIME_ZONE_ID_INVALID = -1;
		public const int TIME_ZONE_ID_STANDARD = 1;
		public const int TIME_ZONE_ID_UNKNOWN = 0;
		public const int UOI_FLAGS = 1;
		public const string USER32 = "user32.dll";
		public const int VER_PLATFORM_MACOSX = 11;
		public const int VER_PLATFORM_UNIX = 10;
		public const int VER_PLATFORM_WIN32_NT = 2;
		public const int VER_PLATFORM_WIN32_WINDOWS = 1;
		public const int VER_PLATFORM_WIN32s = 0;
		public const int VER_PLATFORM_WINCE = 3;
		public const int WM_SETTINGCHANGE = 0x1a;
		public const int WSF_VISIBLE = 1;
		public const string ZEROMEMORY = "RtlZeroMemory";

	}
}
